<template>
  <div class="index">
    <div v-for="(item, list) in medicineList">
      <Medicine :medicine="item"/>
      <div class="test"></div>
    </div>
  </div>
</template>

<script>
import Medicine from '@/components/other/medicine';
export default {
  components: {
    Medicine
  },
  data() {
    return {
      medicineList: [
        {
          name: '999感冒灵',
          img: 'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2057027089,577423344&fm=26&gp=0.jpg',
          explain: '头疼发热脑壳痛',
          price: 36.88,
        }
      ]
    };
  },
  methods: {
  }
};
</script>

<style lang="scss" scoped>
.index {
  font-size: 10px;
  .test{
    width: 20px;
    height: 20px;
    background-color: red;
  }
}
</style>
